Skip to content

CI lint: moving cameras with auto-tracking must set ptz.autotracking (#124) - #151

Merged
ch-bas merged 1 commit into
mainfrom
ci/autotracking-lint-124
Jul 27, 2026
Merged

ch-bas merged 1 commit into
mainfrom
ci/autotracking-lint-124

Conversation

@ch-bas

@ch-bas ch-bas commented Jul 27, 2026

Copy link
Copy Markdown
Owner

Prevents the Part-1 drift fixed in #150 from recurring.

scripts/build.js (the existing CI gate) now fails the build if a camera typed ptz / dual-lens / panoramic advertises auto-tracking in features[] (matches auto-track / smart track / subject track) but omits ptz.autotracking: true.

Fixed types (dome/bullet/fisheye/box) are excluded — their 'tracking' is digital/e-PTZ, which correctly is not ptz.autotracking (per #126).

Tested: passes on current data; removing the flag from a ptz camera makes the build fail with a clear, actionable message. Documented the rule in CONTRIBUTING.md.

…totracking (#124)

Prevents the Part-1 drift (#150) from recurring: build.js now fails if a
ptz/dual-lens/panoramic camera advertises auto-tracking in features[] but
omits ptz.autotracking:true. Fixed types (dome/bullet/fisheye/box) are excluded
— their tracking is digital/e-PTZ, not onboard mechanical (#126). Documents the
rule in CONTRIBUTING.md.
@ch-bas
ch-bas merged commit 3dfc963 into main Jul 27, 2026
2 checks passed
@ch-bas
ch-bas deleted the ci/autotracking-lint-124 branch September 3, 2026 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant